from random import randint

class MySite:
    def __init__(self, count=5, start=1, end=100):
        self.count = count
        self.start = start
        self.end = end

    def numgen(self):
        nums = [randint(self.start, self.end) for _ in range(self.count)]
        return nums

    def getsite(self):
        for x, y in zip(self.numgen(), self.numgen()):
                print('{}:{}'.format(x, y))

        # n = 0
        # numlist1 = self.numgen()
        # numlist2 = self.numgen()
        # for i in numlist1:
        #     print('{}:{}'.format(x, numlist2[n]))
        #     n += 1


s = MySite(count=10)
s.getsite()


# 做得不错
